package com.abe.libcore.utils.normal;

import android.os.Environment;

import java.io.File;

public class ConstantCore {
    public static final String SD_PATH = Environment.getExternalStorageDirectory().getAbsolutePath();
    public static final String FILE_ROOT_PATH = SD_PATH + File.separator + "abeframe";
    public static final String CORE_PATH = FILE_ROOT_PATH + File.separator + "core";
    public static final String CORE_PUSH_PATH = CORE_PATH + File.separator + "push";
    public static final String CRASH_PATH = FILE_ROOT_PATH + File.separator + "crash";
    public static final String VIDEO_PATH = FILE_ROOT_PATH + File.separator + "video";
    public static final String IMAGE_PATH = FILE_ROOT_PATH + File.separator + "image";
    public static final String CACHE_PATH = FILE_ROOT_PATH + File.separator + "cache";
    public static final String LOG_PATH = FILE_ROOT_PATH + File.separator + "log";
    public static final String LOG_PUSH_PATH = FILE_ROOT_PATH + File.separator + "push";
    public static final String LOG_HTTP_PATH = FILE_ROOT_PATH + File.separator + "http";
    public static final String LOG_SERIAL_PATH = FILE_ROOT_PATH + File.separator + "serialPort";
    public static final String LOG_SOCKET_PATH = FILE_ROOT_PATH + File.separator + "socket";
    public static final String APP_SP_BASE = "com.abe.libcore";

    //MVP 访问失败
    public static final String MVP_PRESENTER_ERROR_ViewAttached = "mvp_presenter_error_not_viewattached";
    public static final String MVP_PRESENTER_ERROR_DATA_NULL = "mvp_presenter_error_data_null";

    //当前活动的上一个
    public static String IntentPreviousName = "IntentPreviousName";
}
